//
//  ZAnimateBarItem.h
//  ZPlayer
//
//  Created by Zed Link on 26/11/2016.
//  Copyright © 2016 ZED. All rights reserved.
//
//  可执行动画效果的BarButtonItem

#import <UIKit/UIKit.h>

@interface ZAnimateBarItem : UIBarButtonItem

@property (strong, nonatomic) UIImageView *imgView;

+ (instancetype)itemWithImageNames:(NSArray <NSString *> *)names duration:(NSTimeInterval)duration target:(id)target selector:(SEL)selector;

- (void)beginAnimation;
- (void)endAnimation;

@end
